package com.ele.client.activity.home;

import com.google.gwt.user.client.ui.IsWidget;

public interface HomeView extends IsWidget {

    void setPresenter(Presenter presenter);

    void startLoading();

    void stopLoading();

    void setDescriptionPlaceholder(String description);

    void setQuestion(String text);

    void setName(String name);

    void addWord(IsWidget widget);

    void showHelp(String html);

    void clearWords();

    void clearHelp();

    public interface Presenter {

        void checkAnswer(String answer);
    }
}
